package com.ruoyi.rcpt.kjry.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.uuid.IdUtils;
import com.ruoyi.rcpt.kjry.service.IKjryService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

import static com.ruoyi.common.core.domain.AjaxResult.success;

/**
 * 科技人员 通用Controller
 *
 * @author huacai
 * @date 2024-05-10
 */
@RestController
@RequestMapping("/kjry/currency")
public class CurrencyController {

    @Resource
    private IKjryService kjryService;

    /**
     * 获得科技人员 主表 主键ID (UUID)
     */
    @GetMapping("/getKjryId")
    public AjaxResult getKjryId(){
        String ceshiId = IdUtils.fastSimpleUUID();
        return success(ceshiId);
    }

}
